#pragma once

#include <windows.h>
#include <stdio.h>

#include <iostream>
#include <string>
using namespace std;

#include "globals.h"
#include "fileoperations.h"



// function declarations

// This function returns FAILURE if file name is not a installer package
// This function returns SUCCESS if file name is a installer package
unsigned int 
IsInstallerPackage
(
 wstring argFileName
) ;

// This function returns FAILURE if file name is not a installer package
// This function returns SUCCESS if file name is a installer package
unsigned int 
IsFileMSIPackage
(
 LPFileInfo pFileToBeAnalyzed
);

// This function returns FAILURE if file name is not a installer package
// This function returns SUCCESS if file name is a installer package
unsigned int 
IsFileInstaller
(
 LPFileInfo pFileToBeAnalyzed
);